<!DOCTYPE html>
<html>
<head>
    <title>应用注册</title>
    <link href="css/animate.min.css" rel="stylesheet">
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <link rel="shortcut icon" href="favicon.ico">
    <link rel="stylesheet" href="css/metroStyle/metroStyle.css" type="text/css">
    <link href="css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet">
    <link href="css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link rel="stylesheet" href="css/plugins/table/bootstrap-table.css" type="text/css">
    <link href="css/plugins/iCheck/custom.css?v=1.0.0" rel="stylesheet">
    <link href="css/style.winning.css" rel="stylesheet">
    <link href="fonts/ali-iconfont/iconfont.css" rel="stylesheet" type="text/css">
    <link href="css/lc_switch.css" rel="stylesheet" type="text/css">
    <style>
        .icon {
            width: 2.2em;
            height: 1.4em;
            fill: currentColor;
            overflow: hidden;
        }
    </style>
</head>
<body>
<div class="row" style="padding-left: 15px; width: 98%">
    <ul class="nav nav-tabs">
        <li class="active mt5"><a id="yyTab" data-toggle="tab" href="#tab-yyxx">应用信息</a></li>
        <li class="mt5"><a id="sjTab" data-toggle="tab" href="#tab-sjqx">应用数据权限</a></li>
    </ul>
    <div class="tab-content" style="margin-top: 15px">
        <div class="tab-pane active  mt20" id="tab-yyxx">
            <form id="appForm" class="form-horizontal">
                <div class="form-group">
                    <label class="col-sm-2 label-normal-wn">
                        <span class="label-required-wn">*</span>应用名称
                    </label>
                    <div class="col-sm-4">
                        <input id="yymc" maxlength="100" name="yymc" type="text" class="form-control">
                    </div>
                    <label class="col-sm-2 label-normal-wn">
                        <span class="label-required-wn">*</span>应用代码
                    </label>
                    <div class="col-sm-4">
                        <input id="yydm" maxlength="30" name="yydm" type="text" class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 label-normal-wn">
                        <span class="label-required-wn">*</span>版本号
                    </label>
                    <div class="col-sm-4">
                        <input id="yybbh" maxlength="25" name="yybbh" type="text" class="form-control">
                    </div>
                    <label class="col-sm-2 label-normal-wn">
                        <span class="label-required-wn">*</span>应用类型
                    </label>
                    <div class="col-sm-4">
                        <select id="yylx" name="yylx" class="form-control">
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 label-normal-wn">
                        <span class="label-required-wn">*</span>应用厂商
                    </label>
                    <div class="col-sm-4">
                        <input id="yyscs" maxlength="100" name="yyscs" type="text" class="form-control">
                    </div>
                    <label class="col-sm-2 label-normal-wn">版权信息</label>
                    <div class="col-sm-4">
                        <input id="bqxx" maxlength="100" name="bqxx" height="60" type="text" class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 label-normal-wn">展示名称</label>
                    <div class="col-sm-4">
                        <input id="zsmc" maxlength="50" name="zsmc" height="60" type="text" class="form-control">
                    </div>
                    <label class="col-sm-2 label-normal-wn">应用状态</label>
                    <div class="col-sm-4">
                        <input id="jlzt" type="checkbox" name="jlzt"  class="lcs_check lcs_tt1" checked="checked" autocomplete="on" />
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 label-normal-wn">访问地址</label>
                    <div class="col-sm-10">
                        <input id="url" maxlength="100" name="url" type="text" class="form-control">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 label-normal-wn">
                        应用LOGO
                    </label>
                    <div class="col-sm-4">
                        <input type="file" name="yylogoFile" id="yylogoFile" onchange="uploadImg('#yylogoFile')"
                               style="display: none">
                        <input type="text" id="yylogoFile_mc" name="yylogomc" class="form-control"
                               style="width:77%;float: left;margin-right:2%">
                        <button type="button" class="btn borderRadius" onclick="import_inputFile('#yylogoFile')">浏览</button>
                    </div>
                    <label class="col-sm-2 label-normal-wn">
                        登录LOGO
                    </label>
                    <div class="col-sm-4">
                        <input type="file" name="dllogoFile" id="dllogoFile" onchange="uploadImg('#dllogoFile')"
                               style="display: none">
                        <input type="text" id="dllogoFile_mc" name="dllogomc" class="form-control"
                               style="width:77%;float: left;margin-right:2%">
                        <button type="button" class="btn borderRadius"  onclick="import_inputFile('#dllogoFile')">浏览</button>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 label-normal-wn">
                        登录背景
                    </label>
                    <div class="col-sm-4">
                        <input type="file" name="dlbjFile" id="dlbjFile" onchange="uploadImg('#dlbjFile')"
                               style="display: none">
                        <input type="text" id="dlbjFile_mc" name="dlbjmc" class="form-control"
                               style="width:77%;float: left;margin-right:2%">
                        <button type="button" class="btn borderRadius" onclick="import_inputFile('#dlbjFile')">浏览</button>
                    </div>
                    <label class="col-sm-2 label-normal-wn">
                        登录插图
                    </label>
                    <div class="col-sm-4">
                        <input type="file" name="dltpFile" id="dltpFile" onchange="uploadImg('#dltpFile')"
                               style="display: none">
                        <input type="text" id="dltpFile_mc" name="dltpmc" class="form-control"
                               style="width:77%;float: left;margin-right:2%">
                        <button type="button" class="btn borderRadius"  onclick="import_inputFile('#dltpFile')">浏览</button>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 label-normal-wn">
                        标题图标
                    </label>
                    <div class="col-sm-4">
                        <input type="file" name="faviconFile" id="faviconFile" onchange="uploadImg('#faviconFile')"
                               style="display: none">
                        <input type="text" id="faviconFile_mc" name="favicon_name" class="form-control"
                               style="width: 77%;float: left;margin-right:2%">
                        <button type="button" class="btn borderRadius" onclick="import_inputFile('#faviconFile')">浏览</button>
                    </div>
                    <label class="col-sm-2 label-normal-wn">
                        地图图片
                    </label>
                    <div class="col-sm-4">
                        <input type="file" name="bttbFile" id="bttbFile" onchange="uploadImg('#bttbFile')"
                               style="display: none">
                        <input type="text" id="bttbFile_mc" name="bttbmc" class="form-control"
                               style="width:77%;float: left;margin-right:2%">
                        <button type="button" class="btn borderRadius" onclick="import_inputFile('#bttbFile')">浏览</button>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-2 label-normal-wn">应用描述</label>
                    <div class="col-sm-10">
                        <textarea class="form-control" rows="2" cols="50" id="yyms" name="yyms" value="" maxlength="500"></textarea>
                    </div>
                </div>
            </form>
            <div class="col-sm-12" style="text-align: center;padding-bottom: 25px">
                <div class="hr-line-dashed"></div>
                <button class="btn btn-primary-wn borderRadius" type="button " id="btnSave" onclick="save()">保存</button>
                <button class="btn btn-normal-qx" type="button" onclick="cancel()">取消</button>
            </div>
        </div>
        <div class="tab-pane ml15" id="tab-sjqx">
            <div class="row">
                <div class="col-sm-7" style="overflow: auto;max-height: 300px">
                    <table id="sjqxList" class="table" style="height:auto"></table>
                </div>
                <div class="col-sm-5 pr40">
                    <form id="sjqxForm" class="form-horizontal">
                        <input type="hidden" id="sjdm" name="sjdm"><!--数据权限代码-->
                        <div class="form-group">
                            <label class="col-sm-5 label-normal-wn">
                                <span class="label-required-wn">*</span>应用数据名称
                            </label>
                            <div class="col-sm-7">
                                <input id="sjmc" maxlength="50" name="sjmc" type="text" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-5 label-normal-wn">
                                <span class="label-required-wn">*</span>应用数据编码
                            </label>
                            <div class="col-sm-7">
                                <input id="sjbm" maxlength="20" name="sjbm" type="text" class="form-control">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-5 label-normal-wn">描述</label>
                            <div class="col-sm-7">
                                <input id="ms" maxlength="200" name="ms" type="text" class="form-control">
                            </div>
                        </div>
                        <div class="cmt5">
                            <button class="btn btn-normal-wn" style="float: right" type="button" onclick="clearSjqx()">
                                清空
                            </button>
                        </div>
                    </form>
                </div>
            </div>
            <div class="col-sm-12" style="text-align: center;">
                <div class="hr-line-dashed"></div>
                <button class="btn btn-primary-wn borderRadius" type="button " id="btnSaveSjqx" onclick="updateGnanList()">保存</button>
                <button class="btn btn-normal-qx" type="button" onclick="cancel()">取消</button>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="js/jquery.min.js?v=3.5.1"></script>
<script type="text/javascript" src="js/bootstrap.min.js?v=3.3.6"></script>
<script type="text/javascript" src="js/plugins/table/bootstrap-table.js"></script>
<script type="text/javascript" src="js/plugins/table/locale/bootstrap-table-zh-CN.js"></script>
<script type="text/javascript" src="js/plugins/iCheck/icheck.min.js"></script>
<script type="text/javascript" src="js/plugins/layer/layer.min.js"></script>
<script type="text/javascript" src="platcommon/layer-wn.js?v=1.0.0"></script>
<script type="text/javascript" src="platcommon/common.js"></script>
<script type="text/javascript" src="platcommon/json-form.js"></script>
<script type="text/javascript" src="fonts/ali-iconfont/iconfont.js"></script>
<script type="text/javascript" src="js/lc_switch.js"></script>
<script type="text/javascript" src="plat-application-add.js"></script>
</body>
</html>
